CRPEJob::ReimportSubreport
Use CRPEJob::ReimportSubreport to reimport a subreport into the specified main report.
Syntax
BOOL ReimportSubreport ( DWORD subreportHandle,
BOOL FAR *linkChanged,
BOOL FAR *reimported );
Parameters
Parameter
| Description
|
subreportHandle
| Specifies the handle of the subreport that you want to reimport.
|
linkChanged
| Specifies a pointer to a Boolean value indicating whether or not the link has changed. See Remarks below.
|
reimported
| Specifies a pointer to a Boolean value indicating whether or not the subreport has been reimported. See Remarks below.
|
Returns
- TRUE if the call is successful.
- FALSE if the call fails.
Remarks
- Parameter linkChanged
- will be set to FALSE if the subreport is reloaded and the links are fixed.
- will be set to TRUE if the subreport is reloaded but missing links.
- Parameter reimported
- will be set to FALSE if the subreport is up-to-date, or if the reimport failed due to an invalid path or other error.
- will be set to TRUE if the subreport was reloaded with links fixed or missing.